/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package javaapplication1;

/**
 *
 * @author alunoinf
 */
public class PessoaFísica extends Pessoa {
    
    private String cpf;

    public PessoaFísica(String cpf, String nome, String email) {
        super(nome, email);
        this.cpf = cpf;
    }

    public String getCpf() {
        return cpf;
    }

    public void setCpf(String cpf) {
        this.cpf = cpf;
    }

    @Override
    public String getId() {
       return this.cpf;
    }
    
     
    
}
